package exception;

/**
 * 测试  人工制造异常
 * @author Administrator
 *
 */
public class Test2 {
	
	public static void main(String[] args) {
		
		int age=619;
		
		if (age<0 || age > 150) {
			
			throw new ArithmeticException();
			
		}
		
		
		System.out.println("你的年龄是"+age );
		
		
		
	}

}
